package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 仓库商品库存一物一码表
 * </p>
 *
 * @author WEN
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjStoreGoodsStockCode对象", description="仓库商品库存一物一码表")
public class ZjStoreGoodsStockCode implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "仓库ID")
    private Long storeId;

    @ApiModelProperty(value = "仓库仓位表ID")
    private Long storePositionId;

//    @ApiModelProperty(value = "仓库商品表ID")
//    private Long storeGoodsId;

    @ApiModelProperty(value = "仓库商品库存表ID")
    private Long storeGoodsStockId;

    @ApiModelProperty(value = "一物一码ID")
    private Long codeId;

    @ApiModelProperty(value = "一物一码")
    private String code;

    @ApiModelProperty(value = "一物一码出库类型：0-未出库，1-预出库，2-审核出库")
    Integer outStoreType;

    @ApiModelProperty(value = "出库表ID")
    private Long storeOutboundId;

    @ApiModelProperty(value = "出库单单号")
    private String storeOutboundCode;

    @ApiModelProperty(value = "出库物料表ID")
    private Long storeOutboundMaterialId;

    @ApiModelProperty(value = "一物一码入库类型：0-未入库，1-预入库，2-审核入库")
    Integer inStoreType;

    @ApiModelProperty(value = "入库表ID")
    private Long storeInboundId;

    @ApiModelProperty(value = "入库单单号")
    private String storeInboundCode;

    @ApiModelProperty(value = "入库物料表ID")
    private Long storeInboundMaterialId;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtUpdate;


}
